package com.mdd.front.vo.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mdd.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 账单信息
 * @TableName order_bill_info
 */
@Data
@ApiModel("账单信息")
public class OrderBillInfoVo extends BaseEntity {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "name")
    private String name;
    @ApiModelProperty(value = "当前租期")
    private Integer currentPeriod;
    @ApiModelProperty(value = "所属商家ID")
    private Long merchantId;
    @ApiModelProperty(value = "账单状态1、驳回待修改  2、待提交审3、审核中  4、待缴纳 5、已逾期 6、待激活7、已支付 8、已取消 ")
    private Integer status;
    @ApiModelProperty(value = "订单编号")
    private Long orderId;
    @ApiModelProperty(value = "账单用户ID")
    private Long userId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "还款开始时间")
    private Date repaymentStartDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "还款结束时间")
    private Date repaymentEndDate;
    @ApiModelProperty(value = " 费用类型：1、收入 2、支出")
    private Integer expenseTypeId;
    @ApiModelProperty(value = "费用类别")
    private Integer expenseCategoryId;
    @ApiModelProperty(value = "逾期天数")
    private Integer overdueDurationDay;
    @ApiModelProperty(value = "总实收金额")
    private BigDecimal totalPaidInAmount;
    @ApiModelProperty(value = "总应收金额")
    private BigDecimal totalReceivables;
    @ApiModelProperty(value = "备注")
    private String remark;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
